/**
 * Copyright (C) 2013 DaiKit.com - daikit4gxt-sample module (admin@daikit.com)
 *
 *         Project home : http://code.daikit.com/commons
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.daikit.daikit4gxtsample.shared.bean;

import com.daikit.commons.shared.bean.AbstractDkModifiableAndCleanableBeanWithId;


/**
 * ProductDetailData, embedded in ProductData
 * 
 * @author tcaselli
 * @version $Revision$ Last modifier: $Author$ Last commit: $Date$
 */
public class ProductDetailData extends AbstractDkModifiableAndCleanableBeanWithId
{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4471679364673427019L;
	private String detail;

	@Override
	protected StringBuilder getToStringBuilder()
	{
		final StringBuilder stringBuilder = super.getToStringBuilder();
		stringBuilder.append(",detail=").append(getDetail());
		return stringBuilder;
	}

	@Override
	protected void cleanDirtyOnChildren()
	{
		// No child
	}

	/**
	 * @return the detail
	 */
	public String getDetail()
	{
		return detail;
	}

	/**
	 * @param detail
	 *            the detail to set
	 */
	public void setDetail(final String detail)
	{
		this.detail = detail;
	}

}
